six boko haram militants were killed , military spokesman says .
hundreds were involved in the raid on a village in far north .
boko haram is based in nigeria but has attacked across the border of several neighbors .